﻿using System;
using System.ComponentModel.DataAnnotations.Schema;

namespace sys.datas.Models
{
    [Table("sys_roles")]
    public class Role
    {
        [Column("orgcode")]
        public string OrgCode { get; set; }

        [Column("rolecode")]
        public string RoleCode { get; set; }

        [Column("RoleName")]
        public string RoleName { get; set; }

        [Column("expirydates")]
        public DateTime? ExpiryDates { get; set; }

        [Column("ISVALID")]
        public bool IsValid { get; set; }
    }
}
